package com.hsgene.order.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.order.service.api.SampleService;
import com.hsgene.sample.dto.GeneticTestingSampleDto;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wangbing
 * @version 1.0, 2018/12/12
 */
@Component
public class SampleServiceImpl implements SampleService {
    @Override
    public ApiResult<GeneticTestingSampleDto> queryById(String id, String typeLabel) {
        return ApiResult.fail(CommonErrorCode.SAMPLE_SERVICE_NOT_AVAILABLE);
    }

    @Override
    public ApiResult<List<GeneticTestingSampleDto>> getSamplesByIds(String ids) {
        return ApiResult.fail(CommonErrorCode.SAMPLE_SERVICE_NOT_AVAILABLE);
    }
}
